From: Florian Müllner Date: Sat, 14 Mar 2026 18:42:18 +0000 (+0100) Subject: overview: Fix delayed grab when entering via gesture X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~26^2~1^2~2 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=9877a6ae87c6a73176203d879cb4bb80478d1826;p=gnome-shell.git overview: Fix delayed grab when entering via gesture When showing the overview in response to a gesture update, we set the corresponding overview properties first before syncing the grab. However as we don't sync the grab while the overview is animating, we currently end up only taking the grab once the animation is complete. This is unintentional and messes with the expected keyboard focus, so only mark the animation as in progress after syncing the grab. Closes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/8967 Part-of: --- diff --git a/js/ui/overview.js b/js/ui/overview.js index d3d64ae71..da3427b8f 100644 --- a/js/ui/overview.js +++ b/js/ui/overview.js @@ -364,7 +364,6 @@ export class Overview extends Signals.EventEmitter { this._shown = true; this._visible = true; this._visibleTarget = true; - this._animationInProgress = true; Main.layoutManager.overviewGroup.set_child_above_sibling( this._coverPane, null); @@ -373,6 +372,8 @@ export class Overview extends Signals.EventEmitter { Main.layoutManager.showOverview(); this._syncGrab(); + + this._animationInProgress = true; } this._overview.controls.gestureProgress(progress);